"use strict"

import {IApdu, jsgp } from "./index";


class trans implements IApdu {
    public constructor() {

    }
    public transmit(command: Buffer): Promise<Buffer> {
        return;
    }
}

let gp = new jsgp(new trans());

let capdata = gp.gp_cap_data("jsgp.cap");
console.log(capdata);

let pkgaid = gp.gp_cap_pkg_aid("jsgp.cap");
// <Buffer a1 02 03 04 05 06 01>
console.log(pkgaid);



